package com.unidt.www.module.expert.job;

import com.unidt.www.module.expert.job.service.IExpertSmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Author sk
 * @Description:
 * @Date 2022/12/21 13:24
 **/
@Component
public class ExpertSmsJob  {

    @Autowired
    IExpertSmsService invitationService;


    @Scheduled(cron = "0 0/1 * * * ?")
    public void smsMonitor(){
        /**
         * 邀约短信监视任务
         */
        invitationService.smsMonitor();
    }
}
